A unique identifier for the current visitor.

def identity(self):
        """
        A unique identifier for the current visitor.
        """
        if hasattr(self._identity, 'get_identity'):
            return self._identity.get_identity(self._environ)
        return self._identity(self._environ)