Step 1: Setup
First of all we need to extend the sugru like a thin spaghetti.
Step 2: Surround the Broken Piece
The idea is to surround the piece where the bulb cap in inserted.
Step 3: Pasting the Sugru
The small base will help to paste everything. Now put again the piece with the sugru above the three legs of our lamp.
Step 4: Pasting Everything
Now we take three pieces of sugru and wrap the legs with the fixed base.
Step 5: That's All!
The last step is to mold the blue plastic to reinforce the piece. And here we are! The bedside lamp is fixed.