private/adapters/dev-fixtures.js
function (store, type/*, record*/) {
    var key, counters;
    key = dasherize(this._parseModelOrType(store, type).typeKey);
    counters = this.get('_generatedCounterId');
    if (!counters[key]) {
      counters[key] = 1;
    }
    return 'fixture-' + key + '-' + (counters[key]++);
  }
function (store, type/*, record*/) {
    var key, counters;
    key = dasherize(this._parseModelOrType(store, type).typeKey);
    counters = this.get('_generatedCounterId');
    if (!counters[key]) {
      counters[key] = 1;
    }
    return 'fixture-' + key + '-' + (counters[key]++);
  }
function ( store , type /*, record*/ ) { var key , counters ; key = dasherize ( this . _parseModelOrType ( store , type ) . typeKey ) ; counters = this . get ( '_generatedCounterId' ) ; if ( ! counters [ key ] ) { counters [ key ] = 1 ; } return 'fixture-' + key + '-' + ( counters [ key ] ++ ) ; }
Generates an ID for a record

@method generateId
@param {DS.Store} store
@param {subclass of DS.Model|string} type
@param {DS.Model} record
@return {String} id
Generates an ID for a record