_nameForPath(path = '') {
    const name = path
      .split(CHARS.SLASH)
      .map((segment) => {
        switch (segment.charAt(0)) {
          // If this is a dynamic segment (e.g. :id), then just return `:`
          // since /path/:id is the same as /path/:uuid
          case CHARS.COLON:
            return CHARS.COLON;
          // If this is a star segment (e.g. *path), then just return `*`
          // since /path/*path is the same as /path/*all
          case CHARS.STAR:
            return CHARS.STAR;
          default:
            return segment;
        }
      })
      .join(CHARS.SLASH);

    // Remove trailing slash, if we result with an empty string, return a slash
    return name.replace(/\/$/, '') || CHARS.SLASH;
  }
Converts a url path into a name used to combine route handlers by
normalizing dynamic and star segments
@param {String} path
@returns {String}