Create consistent block_id for child blocks imported from a library