id can be a string e.g. in case of cmf

exceptions in cmf blocks lead currently to ERROR - [cms::blockContext] block.id=0 - error while resolving options - ...

with this change you see the correct block id