**Describe the bug** If a macro is defined multiple times in a file, the `memberdef` get the same ID. The multiple definitions are rendered separately, but in the index all point to the same definition. **To Reproduce** Attached is a simple test to reproduce this. **Expected behavior** Each definition be uniquely identified. **Version** 1.14.0 **Additional context** Probably adding the line number when computing the hash would solve this. [duplicate-id-issue.zip](https://github.com/user-attachments/files/20670426/duplicate-id-issue.zip)