Better, less magical semantics for specifying "id" field in output

Addresses #39