socket.io ids are not always valid peer.js ids so added a conversion to make them all valid