Isotope fractionation in the solar system