Spinors, Lagrangians and Higgs bundles