Apply name generation before def/use.
Make name deterministic even if a different identifier is used.