Use priority name instead of priority id.

Colouring issues based on the id of the IssuePriority record is risky: it's not granted that they have ids 1 to 5.
In fact, they are only required to be in the right order. 

Using priority-highest instead of priority-5 solves this problem.