Hello! Thank you for the question :D
Could you explain a bit more about why you want to use incrementing numbers for Block IDs? Generally that's not a great way to maintain UIDs :/ For example, how do you want to handle blocks getting deleted? Do you want those gaps in the ID chain to exist forever, or do you want to try to fill it back in? Either option adds complexity to serialization, because when you load a save into a workspace you'll need to figure out what your next ID should be.
If you tell us a bit more about your use case, someone on here might be able to give you an alternative solution that works better with Blockly's existing ID system.
Best wishes,
--Beka