They are GENERALLY the same on both drivers. Look at them from the back. The left is + (or minus, but just do the same) and the right is - (or the opposite...)
If you REALLY care (as long as they are both the same it doesn't really matter) you can buy a little test device that tells you when you play a special CD or hook up some other special gizmo which is included with the thing. Look for "polarity checkers" at pro-sound shops. They usually sell for like $100, and it may be possible to DIY one but I haven't investigated much.
As a last ditch effort, if you have "known good" headphones to listen to, you can hear it if you do it wrong. Flip one, and your back in business.
I should note now, that they are occasionally flipped. I have a set of beyers that are wired backwards on 1 driver (left is + on 1, right is + on the other). Dunno why it happened that way, but 1 headphone in the 30 or so I have cracked doesn't really phase me.