Reference Geometry ID

From macro I insert plane (reference geometry) and now I need to rename it or at least to get current ID for this plane for future selection without user involvment.

And another question along the same line: how can I make this plane invisible?

Any advices?

Thanks,

Simon

SolidworksApi macros