Help wiring new overhead light that uses SPT wire
I think I would say just the opposite. My thinking is that the wire with the writing on it is identified thus the neutral. You can check it out with a continuity tester or an ohmmeter by checking which wire gets a ring from the metal exterior of the fixture, since most fixtures are bonded between the neutral and the grounding wire.

If this is just a replacement cord you can select any conductor and mark it on both ends with white tape and identify it yourself.

Hope this helps