uniqueId = (prefix) => {
        const id = ++idCounter;

        return `${prefix.toString()}-${id}`;
    }
Generates a unique id with a prefix
@param  {String} prefix   Prefix to add before the id
@return {String}          Unique id