Definition (compositum)
Let $L_1, L_2$ be subfields of $M$.
The compositum $L_1 L_2$ is the smallest subfield of $M$ containing $L_1$ and $L_2$.
If $f\in{}$$\Aut$$(L_1 L_2)$ is such that $f|_{L_1} = \id_{L_1}$ and $f|_{L_2} = \id_{L_2}$, then $f = \id_{L_1L_2}$, because $(L_1L_2)^f$ is a subfield containing $L_1$ and $L_2$.