allow null as parameter to Scope::fromString()