[tor-commits] [tor/master] Do more type checking when setting HS idents.