Bug fixes

- Use default of 0 for MAC and IPs instead of guessing from name
- Use switch name instead of id for Mininet script generation