Fixes #5623 - adds _elgg_ prefixes to all private functions