Add method to check whether a selector string is expandable, start working on port identifier list -> selector method.