My passport is handled by a gate agent every time I board an international flight all over the world. That is as much a document validity check as it is a visa, etc check.
If I protested and stuck it in their face, I can guess what the outcome would be. Why is ID at a hotel any different.