docs: public static String assertValidName(String name) {
          if (name != null && !name.isEmpty() && name.matches("[_A-Za-z][_0-9A-Za-z]*")) {
              return name;
          }
          throw new AssertException(String.format(invalidNameErrorMessage, name));
      }