SSID refers to a single BSS
ESSID refers to an SSID spreaded among multiple BSS
Strictly speaking, when you speak about a single AP the correct term is SSID, when you speak about a network of multiple APs the correct term is ESSID (Extended SSID)
But it's only a terminological question, both refer to a wireless network name.