Could also be abs sensor if the setup is anything like the E46. Rear NS (might have OS but can't remember now) abs sensor also ran the feed for the speedometer. It was a simple fix of replacing the sensor and all done. It was interesting as I noticed while it was broken I could drive around (using sat nav as a speedometer) and the millage wouldn't go up. Bit naughty I thought.