Add newId function to generate a call ID.

See AutobahnPython Clinet implementation for reference:
https://github.com/tavendo/AutobahnPython/blob/master/autobahn/autobahn/util.py#L65