Method for trapped ion polarization and polarization detection