idPIE: Joint baryon and DM modelling