Since the wiring in a ceiling fixture is usually 14-gauge, you can fix it with insulation stripped from a 12-gauge wire. Pick up a short length of 12-2 nonmetallic cable and a package of heat ...
But [Matthias Wandel] may be on to something. Here he’s using nichrome wire to reinforce the broken plastic part. The repair process is demonstrated in full in the video after the break.