It's fine to do this, by default it'll use the local variable. If you want to use the object's variable you will have to do src.name though.