add a keyName attribute to buffer objects