I would guess the brushes are worn in the alternator. Its nearly always this especially if the ignition light stops going out progressively (brushes gradually make poorer contact). Its an easy job to replace them although a lot of people bin the complete alternator perhaps worrying that the bearings will also be worn...