docs: final PropertyDefinitionId propertyDefinitionId()
          throws ItemNotFoundException, ConstraintViolationException, InvalidItemStateException {
          CachedDefinition defn = cachedDefn;
          NodeTypes nodeTypes = session.nodeTypes();
          if (defn == null || nodeTypes.getVersion() > defn.nodeTypesVersion) {
              Name primaryType = node.getPrimaryTypeName();
              Set<Name> mixinTypes = node.getMixinTypeNames();
              PropertyDefinitionId id = node.propertyDefinitionFor(property(), primaryType, mixinTypes, nodeTypes).getId();
              setPropertyDefinitionId(id, nodeTypes.getVersion());
              return id;
          }
          return defn.propDefnId;
      }