Changing the way grammar slot labels are created.