Text this: Functionalized graphene-based nanocomposites for smart optoelectronic applications