Use emitname() for identifiers, and emitstring() for string literals.
Compile sub-functions.