Have you talked to the daycare people? Start there.
You know your daughter's personality best. What do you think the reason is? Do you really think she would pee her pants for attention b/c she sees other kids get attention for it? She wants attention for that? That doesn't really make sense to me, if she is receiving appropriate amounts/types of attention already (is she?)
My own daughter (potty trained at 2) was and IS a rule follower. VERY aware of rules and very concerned with not breaking them. She never had accidents after she moved to panties (2nd birthday)... even at night (that part was luck and physical development I suppose--you can't really night train--it isn't up to them whether or not they wake up, ya know?). I digress.
She never had accidents, and I mean never. When she started kindergarten, she had several, so I asked some questions (her and the teacher). It tended to happen at times like, reading group time, when the kids were assembled in a small group taking turns doing an activity, and where you were supposed to be quiet and not talk when it wasn't your turn to read. So she would do that (and not ask to get up from the group to use the bathroom). She also felt uncomfortable just getting up from a situation like that WITHOUT asking. So, she wet her pants, instead, not for attention, but b/c she was trying to hold it until the activity was over and failed.
I had to really talk to her and make her KNOW that it was perfectly fine and expected, that she should go use the potty whenever she needed, even without asking. That it was NOT breaking any rules. And I confirmed this in front of her teacher, with her teacher telling her the same thing in front of me.
After that, no more accidents.