code: long __getId() {
          Session session = this.wiki.__getHibernateSession();
          session.beginTransaction();
          session.lock(hibernateCategory, LockMode.NONE);
          long id = hibernateCategory.getId();
          session.getTransaction().commit();
          return id;
      }
docs: /*
  Note well:
  Access is limited to package-private here intentionally, as the database ID is considered framework-internal use.