add fix for non-string name fields

This commit adds a fix for non-string `name`, `firstName`, and `lastName`
traits. A user was passing in objects to these fields, which will throw an
exception when passed to `trim`.

cc @yields