code: public static <T> Id<T> newId(final TypeToken<T> type) {
          return (Id<T>) Ids.newId(type.getType());
      }
docs: Returns a new {@link Id} which represents the {@code type}.
  
  @param type the type to which the new id has to be associated.
  @param <T>  the type of the id.
  @return an new {@code Id} based on the given type.