Let $f$ be an entire function and suppose $|f(z)| = |z|$ for $|z| < 1$. Prove that $f(z) = λz$ for some $λ ∈ \mathbb{C}$ with $|λ| = 1$.
My idea is to show that the function $g$, defined as $g(x)=\begin{cases} \frac{f(x)}{x}& x\neq0,\\ 1&x=0\end{cases}$ is constant, using Liouville's theorem, and then show that the modulus of that constant is equal to $1$. But I am having trouble proving that $g$ is bounded and entire. Any ideas of how to do this?