Standardize hook names on export

Includes unit tests, which demonstrate how it works.

Should fix #102