private void addIdentityField(String fieldName) {
    if (identityFields.contains(fieldName)) {
      m_pdxInstanceFactory.markIdentityField(fieldName);
    }
  }
This class is intermediate class to create PdxInstance.
geode-core/src/main/java/org/apache/geode/pdx/internal/json/PdxInstanceHelper.java