I just stick a 9v battery on two wires on one end and then test for the voltage with a voltmeter on the other end. If I need to sort out multiple wires, I just feed different low voltages over different wires and test at the other end.
It’s always worked for me :). Wire is wire, as long as you don’t try to run higher wattage over it than it can handle.