Identification of wires in a multicore cable