fmt_ident: refactor strictness checks