Anion-Templated Synthesis Of Functional Interlocked Architectures