Fix typo
Extract :id values from maps when converting to-id. Fixes #242.