[WIP] loss function name consistency

This is a checkpoint to solve #3481 
Ah I see, I'll leave this out then.