It's called being a polite and sophisticated person in the workplace. But have common sense. Don't be too proper but go ahead and add some class to the workplace. Just make sure your happy about it...
Complicated, confusing, many, subject to change depending on the people and culture involved and hardly ever cut in stone. You can't even use the broad term of treat others the way you would want to...