Searches for the instance name for a given tag and returns it.
the tag which contains the instance name
the instance name