The identity on $X$ is the binary relation
\[\id_X = \{(x,x):x\in X\}.\]
For any $X$, $\id_X$ is also a function.
\[\id_\varnothing = \varnothing.\]
The identity on $X$ is the binary relation
\[\id_X = \{(x,x):x\in X\}.\]
For any $X$, $\id_X$ is also a function.
\[\id_\varnothing = \varnothing.\]