Propose to make the \Magento\Framework\App\Config\ScopePool::_getScopeCode() public because it is useful to calculate cache keys based on a scope (like \Magento\Framework\App\Config\ScopePool::getScope() does)

See also: