How to have a feature that allow us to "tag" a contact X (company and person) as a reference passed by other company Y so when someone of that company X contact us we have an alert i PD like "this company/person X was referenced by that Y company) so we can know if we need to redirect that contact X to Y company or give comission to Y company

How can we do this in PD ?