Encoding Optoelectrical Sub-Components in an Al2O3 Nanowire for Rewritable High-Resolution Nanopatterning.