Visit http://us.playstation.com/portableid and login (if needed).
On the right side of the page (to the right of your Portable ID) is a bit of code in a box. Select the entire thing and copy it.
Click on the 'My Settings' link at the top of this page (next to your name).
Paste the code to the signature box.