internal: set the unique ID to every Shapes