code: function(ref) {
          if (ref.category !== "objectref" || !ref.path || !ref.path.length || !ref.path.join) {
              return null;
          }
          return ref.path.join(".");
      }
docs: Transform a component path into a string - useful for error checking
  If path is invalid null is returned
  @param {Object} ref the ref structure returned by the PEG parser for components and endcomponents
  @retrun {String} the path as a string