The Design of Functional Ion Gels and Hydrogels for Additive Manufacturing of Devices and Composites