If you signed in correctly to Amazon assosiates correctly, you can find your affiliate code on left hand corner of the page, just below the "amazonassosiates" logo as,
Singend in as,
Normally it has a -20 at last. I think this would help to solve your problem. If you need any help please let me know. I am happy to help you.