The geometric algebra of Fierz identities in arbitrary dimensions and signatures