Returns the object ID corresponding to the specified handle object in this database.
If objHandle is 0, this function will create a new unique handle and return a newly created object ID corresponding to this handle.
createIfNotFound is for internal use only and should always be false for client applications.
OdDbObjectId class