set uuid on object initialize, remove primary_key type check