The role of divalent magnesium in activating the reaction catalyzed by orotate phosphoribosyltransferase.