building id on test detection result