Rename functionName -> finalName.

Matches upstream, makes merging easier.