[core] fix sid generation in case __init__ has no default arguments
[core] fix sid generation in case __init__ has no default arguments

michaellaier/pymor,michaellaier/pymor,michaellaier/pymor,michaellaier/pymor