jupiterjs/canjs — pull request #100 by iamnoah (2012-09-07 22:02:18+00:00)
Title: Fix shadowed ids

Model and model list access the model's id directly on the model object instead of through the data store, which is inconsistent. e.g.,

```javascript
var model = new Model({id:1});
// this model will mostly be treated like model 123
model.id = 123;
// but the attribute is still the value set with attr()
model.attr('id') === 1
```
the tests show how a method with the same name can shadow the id property even though the attribute has the correct value.