A versatile approach for the processing of polymer nanocomposites with self-assembled nanofibre templates.