A topological invariant for stable map germs