Integral closures in real algebraic geometry