On the classification of hermitian forms