src/vs/workbench/contrib/tasks/browser/abstractTaskService.ts/AbstractTaskService/_getTaskIdentifier
class AbstractTaskService:	private _getTaskIdentifier(arg?: string | ITaskIdentifier): string | KeyedTaskIdentifier | undefined {
		let result: string | KeyedTaskIdentifier | undefined = undefined;
		if (Types.isString(arg)) {
			result = arg;
		} else if (arg && Types.isString((arg as ITaskIdentifier).type)) {
			result = TaskDefinition.createTaskIdentifier(arg as ITaskIdentifier, console);
		}
		return result;
	}