Outport linking bug fix

Added an error message when there was a naming conflict when trying to
create inport outport from to tags.
Added code for outport from tags.