Challenges and practices in identifying third-country nationals in migration procedures