The interface composite object shall provide a method getId() which returns the unique id of the entity or relation in the datastore.