Can i tag collider?

Can i tag collider and use only that tagged collider in public void OnTriggerStay (Collider other)
If i can how i can do it?

public void OnTriggerStay(Collider other)
{
if (other.transform.tag == “TagName”)
{
Debug.Log("I was triggered by: " + other.transform.name);
}
}

Make sure before you do anything that you first set the tag of the gameobject in the inspector.