Scientists have shown how a technology called terahertz spectroscopy could be used to help spot fake clothing and combat textile counterfeiting.