Spectroscopy on Localized and Cooled Ions