Typeahead.js is doing StartsWith alike matching for the tokens afaik, so it should be good to keep only ids and names there.