How an Oxford don is helping the tech giant understand the nature of modern identity—and stay out of court.