Import Capella

I’m working on the import/export in Capella, in the functional Exchanges i found problems in their import because they need new ports. I want to generate the IDs for the new Components in my plugin . my question is when Capella create IDs for the new Components and how they are created (XML PIVOT merge)?
Thanks in advance,

Copyright © Eclipse Capella, the Eclipse Capella logo, Eclipse and the Eclipse logo are Trademarks of The Eclipse Foundation.