Deep-eutectic solvents playing multiple roles in the synthesis of polymers and related materials.