His first Oscar nomination, for Hamnet, is testament to the German-born British composer’s chameleon-like adaptability ...