toStringIdOrIndex

Works out whether id names an array index or an ordinary property.