Enhanced setIdAndPhonenumber method