Effects of lengthscales and attractions on the collapse of hydrophobic polymers in water