code: private static String validFunction( String string)
      {
      return
        GeneratorSet.ALL.equals( string)
        ? string
        : validIdentifier( string);
      }
docs: Reports a GeneratorSetException if the given string is not a valid function id. Otherwise, returns this string.