A strategy for synthesis of ionic metal-organic frameworks.