where $S$ is the antipode and $tr$ is the ordinary trace in the fundamental representation of $U_q(sl_2)$. That discovery really cost me, as I spent a long time trying to find the identity using the quantum trace, and it wasn't true. The appearence of the $R$-matrix on the right hand side of the equation is because diagrammatically, that is where the crossing is.
You can find it in a paper of Bullock, Frohman and Bartoszynska in Communications in Mathematical Physics in the late 90's where we proved that the space of observables for $U_q(sl_2)$ lattice gauge field theory based on a fat graph is the Kauffman bracket skein algebra of the surface which is a regular neighborhood of your graph.
Our ultimate step in this direction was "The Yang-Mills measure in the Kauffman bracket skein module". The lattice models were equipped with a "path" integral which is a trace on the algebra of observables that is topologically invariant. Once we had identified the algebra of observables as the Kauffman bracket skein algebra, we carried the path integral over to the purely topological picture to get a trace which deforms either integration against Haar measure in the case where the surface has boundary, or integration against the symplectic measure if the surface is closed. Although the physicists treated the path integral as a formal power series, we were able to show that as long as Planck's constant does not lie on the unit circle, or if it does, it is a root of unity, that the integral actually converges.
In more modern terms, quantum Teichm"{u}ller theory as developed by Fock, Checkov, Bonahon and Kashaev, constructs a dual lattice gauge field theory, whose representation theory has been worked out by Bonahon and his collaborators. What is nice about this is you can emulate steps of the proof of the geometrization conjecture in the quantum setting and find fixed representations. Bonahon and Wong recently proved that the space of observables contains a large subalgebra which is the Kauffman bracket skein algebra of the underlying surface.
Bullock, Doug; Frohman, Charles; Kania-Bartoszyńska, Joanna Topological interpretations of lattice gauge field theory. Comm. Math. Phys. 198 (1998), no. 1, 47–81.
Bullock, Doug; Frohman, Charles; Kania-Bartoszynska, Joanna The Yang-Mills measure in the Kauffman bracket skein module. Comment. Math. Helv. 78 (2003), no. 1, 1–17.