THz Metasensor: From Refractive Index Detection to Fingerprint Spectrum Identification