Linked And Knotted Fields In Plasma And Gravity