Measuring light absorbance of sample, identifying sample