Right side
粦 supplies the sound exactly: lín → lín, identical pinyin and tone.
粦 is itself a graph for the eerie 'corpse-light' flickering over old battlefields — actually phosphorus from buried bones igniting in damp air. The element name
磷 thus encodes the phenomenon it was discovered through. Same phonetic:
鳞 fish-scale,
麟 unicorn,
邻 neighbour.