Text this: Smart nanomaterials for sensor application