Get the context (most probably XMPP thread ID) for a sink.