Add ports() as an alias to interfaces().  Add sanity checks during scenario compilation for badly-formed predicates