codegen: Fix local and field names starting with a digit

Fixes bug 647018