Fixed bug in TablePrimary constructor (givename -> givenName)