In my circle usually people would either go by their middle name or they'd very quickly earn themselves a nickname... although now that I think about it we did use lastnames for some guys. Whatever works, really. Nobody was a stickler about how they were addressed.
If there's five people named John in the same class in school or the same team at work, it is not uncommon for all John to go by last name.