lib/ProfileIndex.js
function(prefix) {
		var code = "function( id ) {\n";
		code += prefix + this.indent + "if (id < "+MAX_FREQ_ITEMS+") {\n";
		code += this.generateDnCif( 0, this._objFreq.length, 3, prefix+this.indent, 'id', (function(i) {
			return "factory_"+this._objFreq[i].safeName+";\n"
		}).bind(this));
		code += prefix + this.indent + "} else {\n";
		code += this.generateDnCif( MAX_FREQ_ITEMS, this._objInfeq.length, 3, prefix+this.indent, 'id', (function(i) {
			return "factory_"+this._objInfeq[i].safeName+";\n"
		}).bind(this));
		code += prefix + this.indent + "}\n";
		code += prefix + "}\n";
		return code;
	}
function(prefix) {
		var code = "function( id ) {\n";
		code += prefix + this.indent + "if (id < "+MAX_FREQ_ITEMS+") {\n";
		code += this.generateDnCif( 0, this._objFreq.length, 3, prefix+this.indent, 'id', (function(i) {
			return "factory_"+this._objFreq[i].safeName+";\n"
		}).bind(this));
		code += prefix + this.indent + "} else {\n";
		code += this.generateDnCif( MAX_FREQ_ITEMS, this._objInfeq.length, 3, prefix+this.indent, 'id', (function(i) {
			return "factory_"+this._objInfeq[i].safeName+";\n"
		}).bind(this));
		code += prefix + this.indent + "}\n";
		code += prefix + "}\n";
		return code;
	}
Generate the lookup factory by ID