Let entity provide ID mapping