code: @Override
  	public Object visit(Id filter, Object userData) {
  		String idName;
  		try {
  			idName = featureModel.getEntityMetadata().getIdentifierPropertyName();
  		} catch (LayerException e) {
  			log.warn("Cannot read idName, defaulting to 'id'", e);
  			idName = HIBERNATE_ID;
  		}
  		Collection<?> c = (Collection<?>) castLiteral(filter.getIdentifiers(), idName);
  		return Restrictions.in(idName, c);
  	}
docs: {@inheritDoc}