ident: refactor NO_DATE flag in fmt_ident