Peter Pearson writes in praise of the vertical, as seen in Dublin’s variety of pinnacles, spires and towers