added group reference id output to branch templates as a class for styling per branch