var Meal = Backbone.Model.extend({ idAttribute: "_id" }); var cake = new Meal({ _id: 1, name: "Cake" }); Backbone.sync = function(method, model) { console.log(model.id); } cake.save();