Add capability to define a target by its name instead of its port