If an ID is set in block XML, set it on the block's svg <g> element