Quantitative modelling of defect processes in ionic crystals