code: function (route) {
          if (route === "/") {
              return "root";
          }
          
          if (route.indexOf("{") >= 0) {
              throw new Error("Unable to guess route name for route " + route);
          }
          var result = route
              .replace(SLASH_PREFIX_REGEX, "")
              .replace(GUESS_ROUTE_NAME_UNEXPECTED_CHARACTER_REGEX, "")
              .replace(PUNCTUATION_LETTER_REGEX, function (full, character) {
                  return character.toUpperCase();
              });
          if (!result) {
              throw new Error("Unable to guess route name for route " + route);
          }
          return result;
      }
docs: Guess a route name for the given route. This will strip out any characters and give a best-guess.
  
  @param {String} route The provided route that it uses to determine a good name for it.
  @return {String} A name for the route.
  @throws {Error} When unable to guess a route name.
  @api private
  
  @example guessRouteName("/") === "root"
  @example guessRouteName("/pages") === "pages"
  @example guessRouteName("/pages/view") === "pagesView"
  @example guessRouteName("/pages/{name}") // Error