Corrected call to clan.getId() rather than printing the class as a string.