Polydimensional Relativity, a Classical Generalization of the Automorphism Invariance Principle