score:3
Well, If it is a transit layover in the transit Hotel then you will not face any problems since transit passengers do not pass the immigration or stamp passports...
Any way, being from the middle east I know how things are slow here sometimes when it comes to this kind of situations. I personally face the same problem in Egypt. There is a guy who is banned from Egypt and have the same name as mine and up to now whenever I go to Egypt I must spend more than 1 hour every time until I am cleared. So most likely if you will pass immigration then you will be held for sometime just like what happened with you.