code: public String toIdString(Object id) {
          if (id == null) {
              return null;
          }
          return idStringMapper.toString(id);
      }
docs: Converts the given id to a string.
  
  @param id id
  @return stringified id