SolidWorks API - Persistent Body ID

Since the name of a body changes when a feature is applied to it, can anyone tell me how to get a persistent ID of a body using the API?

If there is no persistent ID, can anyone tell me how we can uniquely identify a body in a multi body part?

Please note, I don't want to have to save the file, so assigning a tracking ID is not an option.