Fixes #1439.

Cannot re-use ids in Backbone. Not sure if this is the best place
to edit this in.
Merge pull request #1552 from xiaohutai/release/1.6-bugfix

Fixes #1439.