Algebras in higher-dimensional statistical mechanics - the exceptional partition (mean field) algebras