How do you tell which wire is hot and neutral on a lamp?
You can identify the neutral side of the wire just by looking for markings on one of the wires. The most common identifier is ribbing in the rubber insulation all along one edge, but it can also be a white wire or a white stripe (photo below).