Indoor Location-Based Services: Prerequisites and Foundations