A Sorted Semantic Framework for Applied Process Calculi (Logical Methods in Computer Science, 2016)