Added support for idAttribute property of Model

Actually idAttribute is ignored. Save a model that use _id instead of id produces a record with both: id and _id. 
It wasn't a problem until I tried to write a dual storage with MongoDB on the server side. Ouch!