public <T> ExpressionMapper map(final QueryField dataSourceField,
                                    final Field<T> field,
                                    final Converter<T> converter,
                                    final boolean useName) {
        addHandler(dataSourceField, termHandlerFactory.create(
                dataSourceField,
                field,
                MultiConverter.wrapConverter(converter),
                useName));
        return this;
    }
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