Check for reserved words

The reserved words `id`, `size` and `role` are not allowed as dimension IDs.