Okay, just replaced my tail light bulbs with the correct 1158 bulbs, and there is an easy way to orient them correctly without trial and error.
As the socket only snaps in one way into the tail light, if you hold the socket in the correct orientation for reinsertion, the higher filament side of the bulb goes to the outside, the lower filament to the inside.