Simple param validation for UIDs