docs: public static Name getArgumentAsName(Object arg) {
          if (arg instanceof String) {
              return LdapUtils.newLdapName((String) arg);
          } else if (arg instanceof Name) {
              return (Name) arg;
          } else {
              throw new IllegalArgumentException(
                      "First argument needs to be a Name or a String representation thereof");
          }
      }