Theory and Modeling of Electrochemical Rare Earth Element Separations