I would like to shed some light on this issue by taking a more abstract point of view.
In my answer to this recent question : (How to solve an equation of the form $f(x)=f(a)$ for a fixed real a.), I used the following group of functions (with the algebraic meaning of the word "group")
$$\begin{cases}\phi_1(x)=x, & \ \ \ \ \phi_2(x)=1-x, & \ \ \ \ \
\phi_3(x)=\tfrac{1}{x},\\ \phi_4(x)=1-\tfrac{1}{x}, & \ \ \ \
\phi_5(x)=\tfrac{1}{1-x}, & \ \ \ \ \ \phi_6(x)=\tfrac{x}{x-1}.\end{cases}$$
Here also, the presence of this group is natural because it provides all the potentially fruitful changes of variables leading ultimately to the solution.
Let us take the following notation:
$$\psi_k(x):=f(\phi_k(x))$$
Thus, the given functional equation can be written:
$$\tag{1} f(x)+f(\phi_5(x))=x \ \ \ \iff \ \ \ \color{red}{f(x)+\psi_5(x)=x},$$
Substitution $x \to \phi_4(x)$ in (1) gives:
$$\tag{2}f(\phi_4(x))+f(\underbrace{\phi_5(\phi_4(x))}_{\phi_1(x)=x})=\phi_4(x) \ \iff \ \color{red}{\psi_4(x)+f(x)=1-\tfrac{1}{x}},$$
Substitution $x \to \phi_5(x)$ in (1) gives:
$$\tag{3}f(\phi_5(x))+f(\underbrace{\phi_5(\phi_5(x))}_{\phi_4(x)})=\phi_5(x) \ \iff \ \color{red}{\psi_5(x)+\psi_4(x)=\tfrac{1}{1-x}}.$$
It suffices now to make the following combination of equations (1)+(2)-(3) (the parts in red) to obtain:
$$f(x)=\frac12\left(x+1-\frac{1}{x}-\frac{1}{1-x}\right)$$

Remark: the group of functions $\phi_k$ has been recognized by Kummer in the mid-nineteenth century in connection with hypergeometric differential equations. See p. 306 of (http://www.springer.com/la/book/9781461457244), a fascinating book about the rise of complex function theory.
This group has also an interest in projective geometry; for this reason, it is sometimes called the "cross-ratio group". For a modern presentation of the projective invariant called the cross-ratio, take a look for example at (http://www.maths.gla.ac.uk/wws/cabripages/klein/pinvariant.html).