docs: def _resolved_pid(self):
          """Resolve self.pid if it is a fetched pid."""
          if not isinstance(self.pid, PersistentIdentifier):
              return resolve_pid(self.pid)
          return self.pid