getNameByTagNum now returns the name of detector