public function identity($object) { return new Identity(get_class($object), $this->primary(), $object); }