Text this: Detecting substandard pharmaceuticals though spectral finger-printing