The crystal chemistry of the ionic bond