Can a photodiode distinguish between daylight and white/blue LED?
You could modulate your LED by driving it at a particular frequency (20kHz for example).
Then instead of just looking for a simple on/off signal from your photodiode, you look for that particular frequency instead.