A versatile ethanol-mediated polymerization of dopamine for efficient surface modification and the construction of functional core-shell nanostructures.