fix(): allow spaces around dots for identifiers

Fixes #4613