An IPython magic to isolate namespaces