code: function (pageRequest) {
              var map = this.__urlMap.urlToPageId, pageId = pageRequest.pageId, url = pageRequest.url;
              if (pageId) {
                  return pageId;
              }
              if (url) {
                  var returnUrl = map[url] || map[url + "/"] || map[url.replace(/\/$/, "")];
                  if (returnUrl) {
                      return returnUrl;
                  }
              }
              return this.__config.homePageId;
          }
docs: Retrieve the pageId based on the pageRequest information, as well as the url map. As a default, the
  homePageId is returned
  @param {aria.pageEngine.CfgBeans:PageRequest} pageRequest
  @return {String} the pageId
  @private