Automatic location identification