I found a solution reading other forums. Honestly, I think it's more a workaround than a real solution.
I used a font manager tool (Transtype pro) to edit the fonts metadata. I set a specific "OT Font family" for each font with the same value of the field "PS font name".
This avoid the framework to confuse fonts of the same family without touching the code.
Ugly, but it works.