Note that if $f(0)=0$ or $f(1)=1$ we are done immediately, so we can assume $f(0)\gt 0$ $f(1)\lt 1$ and let $y=\sup \left\{x\in [0,1] \land f(x)\ge x\right\}$ - this deploys the completeness of the real numbers: the set is nonempty (contains zero) and is bounded above by $1$.
Then you need to use the continuity of $f$ at $y$ to show that $f(y)=y$.
I put this in to show that you can fall back on the basic concepts when nothing else seems to come to mind. If you follow through the proof you will effectively replicate in this specific case a version of a proof of the intermediate value theorem applied to $f(x)-x$. But it doesn't require you to spot the special function.
It is worth studying the $f(x)-x$ method, though, and understanding how that works, because when you move on to the proofs of mean value theorems and Taylor Series you will see a similar technique in action. It looks more complicated than it is.