Affiliates Social Sharing

If a user has activated the affiliate panel, it would be really awesome if ?ref=user-# was added to any social sharing buttons across the main site and also their own networked blog.