Rename get_ident() to fmt_ident() and make it available to outside