Good catch, it should be either one or another, but consistent in both places: if it can contain non-numberic characters, it should be :identifier, :number otherwise