Support the record's composite name

Also updates the sample app to prioritize it when displaying the
contact's name in the sample app.