Factors Affecting Formation of Ionic Bond