fix(db): elgg_get_metastring_id should always create and id

fixes #7579