Spin assignments for $$^{23}\hbox {Mg}$$ levels and the astrophysical $$^{22}\hbox {Na}(p,\gamma )^{23}\hbox {Mg}$$ reaction