Include user agent in uniqueid

Related to #235