Generate function for retrieving primitive constructor names.
WIP
Stub generation tests.