If both wires for a ceiling light fixture are black how do you tell which is the live wire and which is neutral?

If both wires are black, the one that connects to your white wire is the one that should have little writing on it. Black to the plain black wire, white to the wire with writing.