Fixes #2356 - Prefers _guid over _id suffix for variables referring to guids

Theres problem with using DeprecationWrapper to handle integers, additionally no casting to string is made in getter, so ie. get_user returns empty resulr when gets guid wrapped in deprecation wrapper. I'm thinking about just leaving plugin hook as is.