Site-selective luminescence spectroscopy of impurity centres in solids: Model calculations and experiment