How are managed the id of object in the .aird

Hello,

I’m trying to understand how the id of the object created in Capella are determined. Is someone has an idea ?

The goal is to allow to create some object with a script (in Python)

Thanks for any idea.