Changed name of typeahead

When adding more than one typeahead on a page, each with a different dataset, only the first dataset gets displayed in each typeahead. This patch changes the typeahead name to the DOM id, which fixes this problem