A period is a valid formula name character

Fixes #31052.