Nucleation of superconductivity in mesoscopic star-shaped superconductors