I get a `NullPointerException` here if I pass it a field name that doesn't exist. How about something like

```
(when-let [f (field type field-name)]
  {:id (.getThriftFieldId f)
   :name field-name})
```