Actually I'm wrong. idAttribute is always a string (prolly I saw a PR or something that intended to make the method polymorphic) so `model.set(model.idAttribute, id)` instead of `model.set('id', id)`