[tern addon] Allow hiding and deleting docs by identity, not just name