private function extractName($name) {
		if (is_string($name)) {
			return [$name, null];
		}

		if (is_array($name)) {
			return [key($name), current($name)];
		}

		throw new ComponentRegisterException('The services\'s name must be a string or an array, ' . gettype($name) . ' given.');
	}