Let `\mathbb{R}` be the set of all real numbers and for all `x \in \mathbb{R}`, the mapping `f : \mathbb{R} -> \mathbb{R}` is defined by `f(x)=ax+2`. If `(f \circ f)=I_{\mathbb{R}}`, then find the value of `a`