Ion Escape: How Planetary Magnetic Fields Influence and Are Influenced by Their Atmospheres