code: function fetchIdFromRelationshipLink(node, relationship) {
      // If id is not embedded in request, Private node ids can be accessed under initializedRelationships.
      // May still return undefined if parent, for example, does not exist.
      if (node) {
          let initializedRelationship = node._internalModel._relationships.initializedRelationships[relationship];
          if (initializedRelationship && initializedRelationship.link) {
              return initializedRelationship.link.split('nodes')[1].replace(/\//g, '');
          }
      }
      return undefined;
  }
docs: /*
  Functions to format project titles the way they are displayed on the dashboard
  Copied from ember-osf-preprints:
  https://github.com/centerforopenscience/ember-osf-preprints/blob/develop/app/helpers/get-ancestor-descriptor.js