added escaping function to chat text names