generateShapeId