Workflow/Activity Registration

When registering workflows without using an explicit name, what gets used to determine the workflow identity? Is it based on package + function name, or just function name?

I ask this in reference to moving workflows around in our codebase without breaking running workflows.

It is just a function name in Temporal.