Scope constructor
Implementation
Scope({Scope? parent, String? id})
{
this.id = id ?? S.newId();
// set parent
this.parent = parent;
// add me as a child of my parent
this.parent?.addChild(this);
// add me to my applications scope manager
System.app?.scopeManager.add(this);
}