Id generator for Backbone.Model