Regarding FAs, I've had a few chats with a few about wearing tags with their names, why some do, some don't, and why others just have one that says "Flight Attendant".
While there may be other reasons, the main one I've heard was harassment from pax, and this seems to have been a serious problem on more than one occasion. This is extremely unfortunate because these individuals really like their profession. I imagine it is not much fun to go to work wondering who the next idiot they encounter might be.
As for check-in agents, I've had only one poor experience and it was recent at a SE check-in line (large Dom airport). The agent seemed both unfamiliar with procedure and unprofessional in their reply. I asked for their name and they gave me a first name which I discovered minutes later was not their real name. I suggested to the senior staff person who I spoke with about this, that this specific check-in agent might require some additional training and perhaps might not be currently suited for that check-in line. I suggested we call it "an opportunity for improvement".
Being in a customer-facing/ frontline customer service profession is not the easiest thing, but it should never be an adversarial encounter for either staff or customers.