Add `operator<<` to all ID classes