True when id belongs to this controller's scope.
id
bool inScope(String id) => scopePrefix == null || id.startsWith(scopePrefix!);