Fix index ID creation
Meilisearch index UID only allows alphanumeric characters,
hyphens, and underscores. With this change, we handle dict
bundle identifiers correctly so that a valid UID is always
created from them.
This fixes the issue described in
https://www.alfredforum.com/topic/16134-better-dictionaries/page/5/#findComment-117683