The Reference-style link wasn't working due to a missing lowercase conversion.

Just moved down the `$id->lower()` call to ensure the lowercase conversion.