Add id to Sprite and Base