Fixed name generation to respect Go's casing style. Fixes #1

Fixes the issue discussed in #1.