I personally think what predominantly dictates someone's behaviour is the culture he is brought up with. I couldn't find any other accurate term besides 'culture'.
So I was taught not to answer 'Aaa' when my name is being called, instead, respond 'Yes'.
I was taught to invite others to join me eat at the dining table if he or she happens to pass by the dining room.
I was taught to bend when passing through someone who is more elderly (and I believe many parents inculcate the same culture).
I was taught to give salam to the teachers I bump into.
I was brought up in a school culture where I had to call every female senior 'kak' even she is, for a fact, 3 months older than me (if I was born in February 2000 and Kak 'X' was born in December 1999 I am still obliged to call her 'kak')
I was taught to send my guests off to the gate and only get inside the house when they leave.
I still until the moment I write this, practise whatever culture I have listed above. These are some obvious ones. There are many I couldn't think of but somehow give impact to our grown up lives.
p/s: I'm used to serve my guests with a tray even if it's just a glass of plain water. Thanks mommy for all this.