fix(db): elgg_get_metastring_id should always create an id

fixes #7579