Changes the visibility modifier of the method that generates thread IDs for XMPP