code: public String getId() {
          String id =  getPropertyAsString(FIELD_ID);
          if (id == null){
              return getPropertyAsString(FIELD_ITEM_ID);
          }
          return id;
      }
docs: Gets the id.
  
  @return the id of the entity.