don't over-specify the format of stats id field

Other stylistic changes.