Word is that Facebook assigns a unique ID to anyone that visits a page with a Like button on it and reports back, whether you're logged in to Facebook or not, or even whether you're a member of Facebook or not.
Many ad networks try that to varying degrees, Google may own or run some, I don't know.