It follows from the axioms of identity alone that $x = y \Rightarrow \big((\forall z) x \in z \equiv y \in z\big)$ and $x = y \Rightarrow \big((\forall z) z \in x \equiv z \in y\big)$.
One of the most important axioms of presumably every set theory is the axiom of extensionality: $\big((\forall z) z \in x \equiv z \in y\big) \Rightarrow x = y$.
But what about its reverse: $\big((\forall z) x \in z \equiv y \in z\big) \Rightarrow x = y$? Does this statement have a name among mathematical logicians and/or set theorists, maybe Identity of indiscernibles? In which set theories can it be proved? And in which set theories (or models) does it not hold?