Engineering Emergent Semantics into Pervasive Resource Discovery