Neutral / Hot wire installation confirmation
The fixture is supposed to be wired so that the hot from the house goes to a particular point on the fixture. In the case of screw base the central contact is supposed to be hot and the thread contacts neutral.

The lamp cord has one side marked (ribbed in your case) to distinguish the two conductors. See Which side of a two-wire cable should be used for &quot;hot&quot;?