BOSTON — The mystery of the unknown justice has been solved.The man whose portrait has hung for years outside the chamber of the highest court in Massachusetts without anyone actually knowing who he was now has a name: Lemuel Shaw, who served as chief justice of the Supreme Judicial Court from 1830 until 1860.In February, current Chief Justice Ralph Gants sought the public's help in identifying the man and received more than 40 educated guesses.