code: public static boolean isTypedIdOf(final String id, final Class<? extends CommonProfile> clazz) {
          if (id != null && clazz != null) {
              return id.startsWith(clazz.getName() + CommonProfile.SEPARATOR);
          }
          return false;
      }
docs: Indicate if the user identifier matches this kind of profile.
  
  @param id user identifier
  @param clazz profile class
  @return if the user identifier matches this kind of profile