Hedgehog bases for A n cluster polylogarithms and an application to six-point amplitudes Article