How to get the persist ID of the IBody2 in solidworks?

I want a unique ID of Body for tracking. I have used solidworks API GetPersistReference3() but it gives null.

Is there any other way to get unique ID of body?

SolidworksApi/macros