Support id and class properties on label and new Sprite.