Join now appends '2' to duplicate attribute names

Join is completely done now.