Refactor getName for Project BAO.