Could we replace this function with [`drupal_html_id()`](https://api.drupal.org/api/drupal/includes%21common.inc/function/drupal_html_id/7)?