I think the id is needed in SpriteAdapter to set the whole layout visible (default visibility is gone).

Unfortunately there are no well documented guidelines for the naming in res/xml files.
[here](https://github.com/Catrobat/Catroid/blob/master/catroid/res/layout/activity_script.xml) is another example how ids were named over the last 2 months