I have gold tag badges for both support and feature-request here on Meta Stack Exchange. When voting to close a question tagged with both as a duplicate, only one of those is selected as the hammer:
At first I thought tag popularity (number of questions asked with that tag) determines the tag to be used, but today I got a counter example on Stack Overflow: (Where I have gold badges for both javascript and html, with javascript being more popular.)
So, what determines which tag is being used as a hammer?