generate toString() method based on natural key attributes