How does this proof work?
Theorem.$\quad$Let $G$ be a group. Then $G$ has a unique identity.
Proof.$\quad$Assume that $e$ and $f$ are two identities in $G$. Since $e$ is an identity, $ef=f$; and since $f$ is an identity, $ef=e$. Thus $e=ef=f$.
I think need to get my understanding of variables sorted out, because when I read the first line of the proof I picture $e$ as an object different from $f$ and it's confusing to then read the conclusion that $e$ and $f$ are equal. Also, how does this show that $G$ has a unique identity?