Issue #2182239 by Berdir, andypost: Improve ContentEntityBase::id() for better DX.