Actually when you look at your table lamp and the NEC I would direct you to "fixture wires" and you will see the 18ga.
My real concern with welding is the inside of the pipe. I know they can weld, grind and polish stainless to make the outside look like it was always one piece of metal but the inside could look like a hacksaw blade.