Simpler checking for nil ID