Mat unique hash as id