code: function(obj) {
  
              this.guid.id = this.guid.id || 1;
              obj.id = (obj.id === undefined ? 'j_' + this.guid.id++ : obj.id);
              return obj.id;
          }
docs: Generate global unique id for obj and store it as a property of the object.