Client-side id generator for Backbone.Model