Add back fold_ident
diff --git a/codegen/src/main.rs b/codegen/src/main.rs
index fc5f8a9..1ab17f3 100644
--- a/codegen/src/main.rs
+++ b/codegen/src/main.rs
@@ -42,7 +42,7 @@
 
 const EXTRA_TYPES: &[&str] = &["Ident", "Lifetime"];
 
-const TERMINAL_TYPES: &[&str] = &["Span"];
+const TERMINAL_TYPES: &[&str] = &["Span", "Ident"];
 
 fn path_eq(a: &syn::Path, b: &str) -> bool {
     if a.global() {