documentcloud/backbone — pull request #1200 by ymichael (2012-04-06 15:52:09+00:00)
Title: Issue 1173: (todo example) model ids are not properly indexed by collections on creation

the current `create` method modifies the `model.idAttribute` directly, causing the collection to be unaware of the change in `idAttribute`.

Changed to using `model.set()`