Tests that a JWC tag may only contain an id attribute.