Rector of the University of Edinburgh — elected office