We walk through a couple of the tricks on re-wiring a table lamp.
First take a close look at the socket fixture and locate the word "PRESS". If you push this point with your thumb, you will be able to remove the socket from its base without any tools or mess.
Second learn how to use the old wire to pull the new wire through the lamp.