Some maritime law firms are betting on diversification as the key to survival in tough economic times.