Found a bike mechanic to talk to in Kununurra, he reckons it's an aftermarket o2 sensor. You can see the chunky dynojet branded plug with grey clip in the pic, and to the right of it the mysterious dangler. If this dangler is meant for an o2 sensor then mine is definitely aftermarket, as the empty plug is 4 pin and my sensor has 5 wires.