On the index of a vector field at an isolated singularity