Derive a Principal ARN from an AWS Unique Identifier - Hacking The Cloud

How to convert an unique identifier to a principal ARN.