Serial number for a router

Is serial number for a router universally unique?

There are no guarantees the serial number is unique.

Is device id of the router universally unique?

The GenieACS ACS ID is unique. You should probably read the TR-069 specification. It will help you understand what is unique and what is not.