Baking from multiple texture slots to one in Blender (for annoying Sketchfab assets)

I thought I'd make this for those times when you download an asset in Sketchfab and you think "Ah, I want to change the brightness of this asset!" and you realise that it's got half a dozen 4k ...