Builds the "find by id" WHERE clause query param map by taking into consideration config.baseQuery.
function findByIdQueryParams (request, config) {
    return typeof config.baseQuery === 'undefined' ? {'id': request.params.id} : _.merge({'id': request.params.id}, underscore(config.baseQuery(request)))
}