This is an ichneumon fly, which are actually not flies at all but wasps that parasitise various stages of other invertebrates. These are notoriously difficult to identify and there are very few UK experts - I will ask one of our specialists and see if they can get us a bit closer than just the family Ichneumonidae.