static boolean id(final char c) {
    return (c >= 'a' && c <= 'z')
      || (c >= 'A' && c <= 'Z')
      || (c >= '0' && c <= '9')
      || c == '-' || c == '_'
      || c == '.' || c == '+';
  }
Return if a character is a valid component in an identifier.

<p>An identifier character must match the expression {@code [a-zA-Z0-9_+.-]}</p>

@param c the character
@return identifier
nbt/src/main/java/net/kyori/adventure/nbt/Tokens.java