Similarities between Ionic and Polar Compounds