If I'm seeing the picture correctly, it is definitely an alternator wire. Notice the black heatshrink tubing just before the plug? This is the diode that rectifies the AC produced by the stator coils (located underneath the flywheel) into pulsed DC for battery charging, lighting, etc.
A word...