It can be the mac address used by the router or the processor board ID of the router , these values are unique for routers.
But when you develop such application you may have to think of if that particular hardware fails means the processor board ID is lost.