Restify function can be configured with the models' id field's name