How to differentiate two temporary bodies?

I have created two temporary bodies in regenerate call back of macro feature. I want to differentiate it in other function.  I have assigned different names for this bodies in regenerate call back. But when I get name of this bodies out side of regenerate call back I get the name of macro feature instead of assigned name. 

SolidworksApi/macros