Many UK codes make more sense when you know their history.
Most were originally RAF wartime fields named after a nearby village. After WW2 they became civil or multi-use fields and the name changed to the nearst town or city.
Hence RAF Trevellas became Trevellas Perranporth EGTP, later shortened to Perranporth.