pub fn table_id(db: &Db, table_name: &str) -> TableId
Helper function to look up TableId by table name (handles database-specific prefixes)