This image shows how the wiring is attached to the ignition assembly, two pegs on opposite edges need to be compressed inwards to allow the wiring to be pulled free, then you can replace the assembly if required (I needed to do so on this job).