OnTriggerEnter just if name of trigger is something

I have 2 things which I want to work with OnTriggerEnter. Turbo and Portal. How can I check the name of Object with Trigger?

function OnTriggerEnter(other : Collider){
//just do this if object name/tag is Turbo


if(other.gameObject.name == “Turbo”) { … }
else if(other.gameObject.name == " Portal") { … }

Looks weird to me. If your object is always “Turbo” or always “Portal” it will be easier to have specific behavioral scripts attached to them and don’t check the name at all. Furthermore, in case the object’s name changes you will have to bring dependent scripts back to consistent state - better use a flag or other property.