Add `@id` and `@type` aliases.