Lemma 8.4.8 (Identity functors). For every category \(S\), the identity functor \(\id_S \colon S \to S\) is a small cocartesian fibration.
Proof
The identity functor on \(S\) is a base change along \(p_S\colon S \to *\) of the functor \(\id_* \colon * \to *\), and hence this follows from (Cat2).