Text this: Functional Nanomaterials for Optoelectronics and Photocatalysis