Now do named ports as ordinary ports iff at top level.
--- not yet complete, need to pass necesssary info though to this
    function