layer_point: simplify data ID code