File/Component ID's

I am looking for how to query the ID that SolidWorks uses to identify references.  I know SolidWorks uses configuration persistent ID's but I am looking for document level ID's.  Does anybody know how to get this?

SolidworksApi macros