ID finding routine