Throw an error if @id is missing on c elements; refs #2