Fermionic dimensions and Kaluza-Klein theory