Text this: Versatile Bottom-Up Approach to Nanostructured Functional Materials for Optoelectronic Applications