function getIDstring(arr, params) {

    var str = params.prefix;

    arr.forEach(function(i) {
        str += generateIDchars[i];
    });

    return str;

}
Get string from generated ID array.

@param {Array} arr input ID array
@return {String} output ID string