code: @Deprecated
      public int getEntityTypeId(@NotNull final String entityType, final boolean allowCreate) {
          return getEntityTypeId(txnProvider, entityType, allowCreate);
      }
docs: Gets or creates id of the entity type.
  
  @param entityType  entity type name.
  @param allowCreate if set to true and if there is no entity type like entityType,
  create the new id for the entityType.
  @return entity type id.