Critical bug fix for mapped custom fields in the ORM class

The namemap on construction was being ignored.