function safeExtractColumn(column, columnSummary) {
	const foundCols = columnSummary.filter((d) => d.id === column.id);
	if (foundCols === undefined || foundCols.length !== 1) {
		const error =
			column.id === undefined
				? new Error(`please add an "id" property to all the <Column ... />`)
				: new Error(`column with id: "${column.id}" not found`);
		if (strictBuild) {
			throw error;
		}
		console.warn(error.message);
		return '';
	}

	return foundCols[0];
}
Will find the matching column in columnSummary or throw an error if not found
@param column