OptionalnormalizeOptionalprimaryColumn used for tenant filtering.
"company_id") yields WHERE company_id = '<companyId>'.null means the table IS the tenant root and is filtered by
id = '<companyId>'. Only the company table qualifies.undefined is rejected — this is the safety gate.
Factory invoked with the constructed
whereclause and the tenant claim. Consumers wire their preferred ElectricShapeStreambuilder here. The factory must use the suppliedwhereverbatim (no widening).