Singular harmonic problems at a wedge vertex: mathematical analogies between elasticity, diffusion, electromagnetism, and fluid dynamics