The Hidden Economics of Referral Marketing