The node you are looking for is at Contexts and engravers - Print chord names with same root and different bass as slash and bass note.