Fixed paste which was assinging same id to pasted classes
Paste now assings a new id after every paste.