Ah, that's the big question. I'm now coming around to see that 2 of the wires are + & - supply and the 3rd one is the switched feed to the lamp, which I'm guessing has its own + & - supplies?
The original problem was that after a meter change the lamp was staying permanently on - tried...