Ikea makes a wide array of lamps based around what boils down to a plug on one end of a cord, and a bulb socket on the other. In preparation for some lamps I'm going to design, I modeled the cord and socket so that my lamps fit appropriately.
I may post them as I complete.
Caveat -- I have not yet tested this model but it was made through extensive measuring of the object. The screw threads especially should be tested before depending on them.