Issue #3332872 by Akram Khan, PrabuEla, smustgrave, longwave, joachim: Allow EntityListBuilder::getEntityIds() to easily extend the query