My DD does it too, but I have never thought of it as attention seeking, she doesn't do it all the time, and I couldn't link it to any kind of behaviour. I just thought she does it because she may have a hair or something stuck in her throat.