use jquery-safe ids. fixes #58