Returns the object id of a persistent-object or persistent-data.
(defgeneric object-id (object) (:documentation "Returns the object id of a persistent-object or persistent-data."))