An upconversion nanosensor with phenolic-like functionality for accurate identification of chlorpyrifos in grapes.