A far from bog standard Scottish Borders Council worker has won praise in Parliament following his retirement after 40 years of loyal service.