Issue #2471142 by martin107: Renamed getFlaggableEntityType() to getFlaggableEntityTypeId(), for consistency with EntityInterface.