'Encode identifying information about L{object} and protocol
into a string for later verification.
@type obj: L{object}
@type protocol: L{amp.AMP}'

def toStringProto(self, obj, protocol):

    ident = (u'%d:%d' % (id(obj), id(protocol)))
    return ident.encode('ascii')
