public static function buildScopeKey($scope, $scope_id) { if ($scope == 'default') { return $scope; } else { return sprintf("%s-%s", $scope, $scope_id); } }