Tuning ion coordination architectures to enable selective partitioning.