@BeckyEbook: You can avoid this whole issue, if you create epub3 books, because the HTML5 standard allows
ids that don't start with a letter.
If that is not an option for you, you can easily identify broken links using the built-in Sigil reports tool (Tools > Reports > Links).