code: public static String normalizeFieldNameOrPath(final String nameOrPath) {
      assertNotNull(nameOrPath, "Name of path must not be null");
      return nameOrPath.trim().toLowerCase(Locale.ENGLISH);
    }
docs: Normalize field name or path.
  
  @param nameOrPath a field name or a path to be normalized, must not be null
  @return the normalized version of the name or path