<font color="red">Edit : 1.1, new version, see at the bottom of the post for updates</font>
You're not going to do backflip on that one, but I though the Pin behavior can benefit a "get pinned Object UID" method.
So, here's the modded behavior (if Ahsley want to add that to next release, it's a one line property ;)) :
http://dl.dropbox.com/u/1412774/PinBehaviorDemo/PinBehaviorDemo.capx
<img src="http://dl.dropbox.com/u/1412774/PinBehaviorDemo/PinBehaviorDemo.png" border="0">
http://dl.dropbox.com/u/1412774/PinBehaviorDemo/pode_pin.zip
Edit : version 1.1 (new icon !)
You can know use "pin by angle only", and "pin by distance only". If you want the pin behavior to behave normally, just pin it back to the same object.
New demo : http://dl.dropbox.com/u/1412774/PinBehaviorDemo2/index.html
.capx : http://dl.dropbox.com/u/1412774/PinBehaviorDemo2/PinBehaviorDemo2.capx
.zip for the plugin : http://dl.dropbox.com/u/1412774/PinBehaviorDemo2/pode_pin.0.2.zip