code: protected static String toInternalName(String name, boolean keepCase)
      {
          return keepCase ? name : name.toLowerCase(Locale.US);
      }
docs: Converts the specified name into the name used internally.
  
  @param name the name
  @param keepCase <code>true</code> if the case must be kept, <code>false</code> otherwise.
  @return the name used internally.