Hey guys...I know there are a few known issues with brake lights, but I just discovered what may be a new one (was to me, anyway). I had been having an issue with an intermittent brake light (the right side), and thought I just needed a new bulb socket, and/or a whole new right-side tail light assembly. I bought new bulbs upon the advice of the local dealer--the exact same brand and part number from Sylvania I would guess many of you have tried--but still had the issue. It seems BMW uses the bulbs with that same part number (Sylvania 7506 P21W) *but* the pins on the base of the bulbs are different for how the BMW bulb sockets are made (the alignment of the pins on the base, that is). The wrong bulbs will fit and seem secure in the sockets, but will only work some of the time.
So, this coming from my Bimmer specialist mechanic in town who had been staring at the car for the past several hours trying to figure out what was wrong...lol He's seen this problem before, which even the BMW parts guys don't seem to know about often enough, so it finally dawned on him to try the BMW marked bulbs (still same part number) and the lights suddenly worked perfectly again.
Anyway, thought I'd throw this $1.50 option out to anyone with brake light problems. It's better than being told outright by someone who hasn't tried this easier fix, or doesn't know of it, that you need to pay over $100. for a whole new light assembly or for switches. The above is just my experience, but hopefully it saves you guys some headaches.