function preGenHash(sIdf, oStateData){
			var sEncodedIdf = encodeURIComponent(sIdf);
			var sEncodedData = encodeURIComponent(JSON.stringify(oStateData));
			return sEncodedIdf + sIdSeperator + sEncodedData;
		}
This function encode the identifier and data into a string.

@private