In history , the tÃ naiste was the heir of the chief ( taoiseach ) or king ( rÃ ) . TÃ naiste was originally the Irish word for the heir of the chief ( taoiseach ) or king ( rÃ ) , under the Gaelic system of tanistry .