boolean isIdAttribute() {
    return isMarkedAsMongoId()
        || isMarkedAsCriteriaId()
        || ID_ATTRIBUTE_NAME.equals(getSerializedName());
  }
Is it marked as {@code Criteria.Id} ?
value-processor/src/org/immutables/value/processor/meta/ValueAttribute.java