It will be the speed sensor, otherwise known as the crank sensor. I just replaced mine, the wiring is prone to breaking where it runs so close to the engine. About £60 for a decent part and easy to fit if you have some axle stands and a jack. You have to remove the starter motor and front engine mount to gain access.