A simple extension for tracking referrals based on a role