Retrieves the database object identifier of the application instance.
The application instance's database identifier represented with a raw pointer to an OdDbStub object.
The method returns a NULL pointer if the application instance is not persistent (i.e. not stored in a database).