Reset the state for the framer.  It is safe to call this
        method multiple times with the same framer; the ID of the
        framer object will be saved and the state only reset if the
        IDs are different.  After resetting the state, the framer's
        ``init_state()`` method will be called.

def _reset(self, framer):
        """
        Reset the state for the framer.  It is safe to call this
        method multiple times with the same framer; the ID of the
        framer object will be saved and the state only reset if the
        IDs are different.  After resetting the state, the framer's
        ``init_state()`` method will be called.
        """

        # Do nothing if we're already properly initialized
        if id(framer) == self._framer_id:
            return

        # Reset the state
        self._other = {}

        # Initialize the state and save the framer ID
        framer.init_state(self)
        self._framer_id = id(framer)