This maintains compatibility with existing (<=1.8) input files, at the cost of being poor Python style since it overloads the built-in 'id' function.