fix(): allow spaces around dots for identifiers

Fixes #4613
I think `name` makes sense since we're really talking about property names here, but any of those would be better IMO