I created a new element in my library. It works fine as long as there is only one copy in the schematic. But if I place another copy (e.g. if I drop two elements into the schematic) my PCB shows all pins of the first and second element connected, as if they had the same names. So far they aren't connected to anything in the schematic.
Obviously I did something wrong while creating the library part — but what?