Get sub sub assembly feature in the context of root assembly

Hi,

A feature (say coordinate system) in the sub sub assembly has a persistent Id in the context of its own.

When it is loaded into the Root assembly, it will have a different persistent Id.

I know the persistent id local to the sub sub assembly.

How do I get the persistent Id of the feature in the context of the root assembly?

Traversing the tree to find the feature using the name to get the persistent Id is time consuming.

SolidworksApi/macros