Field-based Coordination for Pervasive Computing Applications