@Override
    public Condition apply(final ExpressionItem expressionItem) {
        return expressionMapper.apply(expressionItem);
    }
Uses UUID or name for any {@link stroom.query.api.datasource.DocRefField}s depending on useName
stroom-db-util/src/main/java/stroom/db/util/ExpressionMapper.java