Bespoke beamline engineering: the Diamond Sample Manipulator