The plain wire is the hot. If the cord isn’t marked with a bead then the strands of wire will be different colors. In these cases the silver wire is the neutral and the brass colored wire is the hot. The plug on the lamp cord holds another clue to polarity with the wide prong being the neutral and the narrow one the hot. Older lamp cord will have prongs that are the same size. This is because polarity was not observed on electric lamps until the development of grounded circuits.
This page contains several diagrams for wiring a switch to control one or more receptacle outlets including a split receptacle and multiple outlets wired together.
This is a wiring diagram for an antique floor lamp with 4 bulbs, one main bulb and 3 peripheral, and usually smaller bulbs. The main bulb threads into a standard socket with an integrated switch and the three peripheral bulbs are wired to a single switch. The secondary switch may have wires colored black, blue and red or, if it’s an old switch, other colors or texturing may be used to distinguish them.
Here a switch has been added to control an existing receptacle. The switch takes the hot from the middle receptacles. With this arrangement, all the other receptacles are wired directly to the hot source and the switch controls the middle outlet.