Original: Such names are usually given by court historians, according to their good deeds or the bad ones.
Simplified: They can be good names or bad.