Export byId selector.