Refactor: tools: Simplify various calls to find_resource_attr.
In some of these calls, we don't actually care about the value of the
attribute. Instead all we're interested in is the side effect of
logging if it's unique or not. So, we can just pass NULL in those
cases.