Eradicate model.id in favour of idAttribute, use debug() instead of console.log()