This is a fern, P. atropurpurea, commonly known as purple-stem cliffbrake or just purple cliffbrake. Brake is an old word for fern, related to the word bracken. Like many other members of the Pteridaceae, it is a rock plant, needing a calcareous substrate.