make sure to generate safe div id for nametag. #209