It is very important because it tells you where you need to look. E.g. the Catholic Church has its own books just as much as the Serbian Orthodox Church has. Also with Serbian families there are Family Saints which differentiate families that have the same surname.
Religion does not define/determine ethnicity.